/**
 * ExceptionCauseSyntax.java
 * 
 * Created on Jul 4, 2008 at 10:38:55 PM
 */
package org.lego4j.matchers;

import java.util.concurrent.Callable;

import org.hamcrest.Matcher;

/**
 * TODO add javadoc to ExceptionCauseSyntax
 *
 * @author <a href="alexguev@gmail.com">Alexei Guevara</>
 * @version $Revision:$ updated on $Date:$ by $Author:$
 */
public interface ExceptionCauseSyntax extends Matcher<Callable<?>> {

    public <T extends Throwable> Matcher<Callable<?>> withCause( Matcher<T> theCauseMatcher );
    
}
